﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Brand_Add.aspx.cs" Inherits="Admin_Brand_Add" validateRequest="false" %>

<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>品牌管理</title>
          <link rel="stylesheet" type="text/css" media="all" href="js/ext/resources/css/ext-all.css" />
	<script type="text/javascript" src="js/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="js/ext/ext-all.js"></script>	
	<script type="text/javascript" src="js/ext/ext-lang-zh_CN.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="css/ext-common.css" />
    <script type="text/javascript" language="javascript">
        Ext.onReady(function () {
            var tabs = new Ext.TabPanel({
                renderTo: 'tabs1',
                width: 800,
                activeTab: 0,
                frame: true,
                defaults: { autoHeight: true },
                items: [
                { contentEl: 'tabBase', title: '基本信息' },
                { contentEl: 'tabImg', title: '图片' }
                 ]
           });
        });
        
    </script>
    <style type="text/css">
        td 
        {
            background-color:#ffffff;
            
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="tabs1"  style="margin-left:50px; margin-top:20px; width:800;">
        <div id="tabBase" style="margin-left:10px; margin-top:10px;height:420px" >
           <table class="_table" style="width:90%; background-color:#888888;" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td  style="width:100px; height: 26px;">
                        &nbsp;名称：</td>
                    <td style="height: 26px">
                        &nbsp;<asp:TextBox ID="txtName" runat="server" Width="380px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 25px">
                        &nbsp;底部标题：</td>
                    <td style="height: 25px">
                        &nbsp;<asp:TextBox ID="txtTitle" runat="server" Width="380px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="height: 262px">
                        &nbsp;简介：</td>
                    <td style="height: 262px" >
                        
                        <CE:Editor ID="txtDes" runat="server" AutoConfigure="Simple" CodeViewTemplateItemList="Cut,Copy,Paste,Find"  Height="100%" Width="100%">
                        </CE:Editor>
                     </td>
                </tr>
           </table>
        </div>
        <div id="tabImg" style="margin-left:10px; margin-top:10px;height:420px" class="x-hide-display">
            <table style="width:99%; background-color:#888888;">
                <tr>
                    <td style="width:125px; height: 69px;">
                        &nbsp;LOGO：</td>
                    <td style="width: 400px"  >
                        &nbsp;<asp:FileUpload ID="file_logo" runat="server" Height="36px" Width="348px" />  
                        </td>
                    <td>
                        <asp:Image ID="img_log" runat="server" Height="67px"  /> </td>
                </tr>
                <tr>
                    <td style="height: 69px; width: 125px;">
                        &nbsp;横向LOGO：</td>
                    <td  >&nbsp;<asp:FileUpload ID="file_logoTop" runat="server" Height="36px" Width="348px" />
                                 
                        </td>
                    <td><asp:Image ID="img_logoTop" runat="server" Height="67px"  /></td>
                </tr>
                <tr>
                    <td style="height: 68px; width: 125px;">
                        &nbsp;简介左侧图片：</td>
                    <td  >&nbsp;<asp:FileUpload ID="file_left" runat="server" Height="36px" Width="348px" />
                    
                        </td> 
                    <td><asp:Image ID="img_left" runat="server" Height="67px" /></td>
                </tr>
                <tr>
                    <td style="height: 68px; width: 125px;">
                        &nbsp;简介右侧品牌LOGO：</td>
                    <td  >&nbsp;<asp:FileUpload ID="file_right" runat="server" Height="36px" Width="348px" />
                    
                        </td> 
                    <td><asp:Image ID="img_right" runat="server" Height="67px" /></td>
                </tr>
                <tr>
                    <td style="height: 71px; width: 125px;">
                        &nbsp;品牌图片：</td>
                    <td >&nbsp;<asp:FileUpload ID="file_des" runat="server" Height="36px" Width="348px" />
                        </td>
                    <td><asp:Image ID="img_des" runat="server" Height="67px" /></td>
                </tr>
            </table>
        
        </div>
        
    </div> 
    </div>
    <center>
        <asp:Button ID="BtnSave" runat="server" Text="保 存" OnClick="BtnSave_Click" />
        <input type="button" value="返回列表" onclick="window.location.href='brandManager.aspx';" />
        </center>
    </form>
</body>
</html>
